<%--
  Created by IntelliJ IDEA.
  User: 康娜的小肥腿
  Date: 2020/3/25 0025
  Time: 15:42
--%>
<%@ page import="com.student.dao.StudentDao" %>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String empno = request.getParameter("empno");
    boolean deleted = new StudentDao().delete(Integer.valueOf(empno));
    if (deleted) {
        out.write("{\"resultCode\": true}");
    } else {
        out.write("{\"resultCode\": false}");
    }
%>
